home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
EDUCMISC
/
STDYAID2.LZH
/
SAMPLE.DEF
< prev
next >
Wrap
Text File
|
1988-08-07
|
6KB
|
345 lines
Sample Q&ASA Database
Q&ASA no longer generates or requires an index file. This file must,
however, be compiled with Q&ASA's database compiler Q&AC.EXE, which
will create the file SAMPLE.Q&A.
This sample database contains questions and answers about Q&ASA.
A Q&ASA database may contain any of the following options.
Q= question on following lines, terminated by a blank line or
another option.
A= answer on following lines, terminated by a blank line or
another option.
N= quiz name is on next line.
M= macro definition on following lines, terminated by a blank
line or another option.
T= time allowed is on next line in the format HH:MM:SS.
C= clear NOT allowed. No additional lines.
S= lock in sequential mode (user cannot change mode).
R= lock in random mode (user cannot change mode).
F= output score filename is on next line (no score recording
if omitted).
W= assign weighting. Weight appears as an integer on the next line.
This weight will be used for all questions following until
another weight is assigned.
In this example database, questions are weighted by type as follows:
multiple-choice 1 point each
true/false (yes/no) 2 points each
fill-in 3 points each
Note that comments are just about free-form. Place them anywhere except
between keywords and their termination.
Configuration follows....
-------------------------
Set the time limit to 5 minutes.
T=
5:00
Name the database. This name is displayed in Q&ASA's main window.
N=
Sample Database
Specify a score file. If it exists, no problem; data will be appended.
F=
Q&ASA.scr
These are the 'true' and 'false' macro definitions...
-----------------------------------------------------
M=
$FALSE$
False
F
No
N
M=
$TRUE$
True
T
Yes
Y
The first question follows....
------------------------------
W=
3
Q=
Fill-in:
Q&ASA requires a maximum of _____ bytes of memory.
A=
128K
128000
128,000
W=
1
Q=
Multiple-choice:
How many questions and answers can typically be put in a Q&ASA database?
A. 100
B. Limited by disk space
C. 3000
D. All of the above
E. None of the above
A=
C. 3000
C
3000
Q=
Multiple-choice:
How does Q&ASA determine the correct answer?
1. It knows the answers
2. By scanning the list of answers in the database and scoring
"correct" if your answer matches any of these.
3. By reading your mind
A=
2. By scanning the list of answers in the database
2
Q=
Multiple-choice:
What will Q&ASA do if my question won't fit in the 15 screen
lines provided?
1. Crash
2. Truncate the question
3. Display the question in 'pages'
A=
2. Truncate the question
2
truncate
Q=
Multiple-choice:
Can Q&ASA assign a "weight" to each question?
a. Yes, provided the total weight adds up to 100.
b. No.
c. Yes, without restriction.
A=
c. Yes, without restriction.
c
W=
2
Q=
True/False:
Is there a way to limit the time allowed to answer all questions?
A=
$TRUE$
W=
1
Q=
Multiple-choice:
How does Q&ASA save the score?
1. By appending the score information to the file "Q&ASA.SCR".
2. It creates a score file defined by the "File/Select" command.
3. By appending the score to the file defined in the database.
4. Both 1 and 2 above.
5. None of the above.
A=
3. By appending the score to the file defined in the database.
3
W=
2
Q=
True/False
Can I skip questions without answering them and come back to them later?
A=
$TRUE$
W=
1
Q=
Multiple-choice:
How does Q&ASA locate my database?
1. It searches the whole disk
2. It searches the current directory
3. It searches the directory specified by the "File/Directory"
option
A=
3. It searches the directory specified by "File/Directory"
3
Q=
Multiple-choice:
How does Q&ASA locate its HELP file?
1. It searches the whole disk
2. It searches the current directory
3. It searches the directory specified by "File/Directory"
4. It searches all of the directories given by the PATH variable
5. It will ask for the directory if it cannot find the file.
6. Both 2 and 4 above
7. 2, 4, and 5 above
8. All of the above
A=
7. It searches the current directory, then the PATH, then asks.
7
W=
2
Q=
True/False
The name of the database definition file must end with ".Q&A".
A=
No. It CANNOT end with ".Q&A". The Q&AC compiler uses this extension!
$FALSE$
W=
1
Q=
Multiple-choice:
The number of correct answers that I can give for a question is
A. Two
B. Five
C. Unlimited
D. Limited by available memory
A=
D. Limited by available memory
D
W=
2
Q=
True/False
Can Q&ASA handle an essay question?
A=
$FALSE$
W=
1
Q=
Multiple-choice:
Which of the answers given in the database does Q&ASA display as correct
if I answer incorrectly?
1. All of them
2. The last one
3. The first one
A=
3. The first one
First
3
W=
2
Q=
True/False
Does Q&ASA regard case ("A/a") in an answer as significant?
A=
$FALSE$
W=
1
Q=
Multiple-choice:
What will Q&ASA do if I put tabs in my database?
1. It will crash
2. It will expand them using 8-column tab stops
3. It will convert them to blanks
A=
2. It will expand them using 8-column tab stops
2
expand
Q=
Multiple-choice:
How does Q&ASA locate the question/answer tags (Q=, A=) in the database?
1. It looks at the first character of each line
2. It looks for those characters alone on a line
3. It assumes 7-line spacing
A=
2. It looks for those characters alone on a line
2
W=
2
Q=
True/False
Is Q&ASA public domain?
A=
NO! Q&ASA is SHAREWARE. You are expected to register and pay for its use.
$FALSE$
W=
1
Q=
Multiple-choice
What if I want to change the database file?
1. You may change it any time you wish
2. You must recompile it using Q&AC.
3. You cannot change the database
A=
2. You must recompile it using Q&AC.
2
W=
2
Q=
True/False
If I type the database to the screen using the DOS command
"type filename.q&a", can I see the answers?
A=
No, the database is encrypted.
$FALSE$